{{extend "yaml_layout_2col_right.html"}}
{{block header}}<a href="{{=url_for('doto.views.doto_index')}}"><h1>DoTo</h1></a><span>Multiple Todo Management Tools</span>{{end}}
{{block nav}}{{end}}
{{block content}}
<style>
img.user {border:1px solid #ccc; padding:3px;}
</style>
<div id="col1">
	<div id="col1_content" class="clearfix">
		<div class="info">
			<img src="{{=request.user.userprofile.get_image_url()}}" class="user"/>
			<p>Username: {{=request.user.username}}</p>
		</div>
    </div>
</div>
<div id="col3">
	<div id="col3_content" class="clearfix">
        {{if defined("message"):}}
        <h1>{{=message}}</h1>
        {{pass}}
        <p>{{=changepasswordform.errors.get('_', '')}}</p>
        
        {{<<changeinfoform}}
        {{<<changepasswordform}}
    </div>
</div>
{{end}}
{{block topnav}}
<span>Welcome, {{=request.user.username}} | <a href="/logout">Logout</a></span>
{{end}}
